<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Title</title>
        <style type="text/css">
            body{
                margin: 0;
                padding: 0;
            }
            .wrapper{
                width: 100%;
                height: 100%;
            }
            .bg-logo{
                width: 55px;
                height: 55px;
                background-color: #ff6700;
                margin: 100px 0 0 100px;
                overflow: hidden;
            }
            .logo{
                display: block;
                width: 55px;
                height: 55px;
                background-image: url("mi-logo.png"),url("mi-home.png")  ;
                background-repeat: no-repeat;
                background-size: 100%;
                background-position:center,-55px 0;
                transition: .2s;
                cursor: pointer;
            }
            .logo:hover{
                width: 55px;
                height: 55px;
                background-image: url("mi-logo.png"),url("mi-home.png")  ;
                background-repeat: no-repeat;
                background-size: 100%;
                background-position:55px 0,center;
            }

        </style>
    </head>
    <body>
        <div class="wrapper">
            <div class="bg-logo">
                <a class="logo" href="//www.mi.com/index.html">
                </a>
            </div>
        </div>
    </body>
</html>